package com.zyh.mapper;


import com.zyh.entity.Menu;
import com.zyh.entity.MenuChildren;
import com.zyh.entity.Messagefather;
import com.zyh.entity.MessagesChildren;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface Menumapper {
    public List<Menu> getAllmenu(Integer id);

    public List<Messagefather> getAllmessages(Integer id);
    public int insertmessage(MessagesChildren message);
}
